package com.sun.designPattern.Observer.baseImp;

import java.util.Observable;
import java.util.Observer;

public class testObServer1 implements Observer {

	@Override
	public void update(Observable obs, Object o) {
		Watched w = (Watched) obs;
		System.out.println(w.getInfo()+"aaa");
	}

}
